package com.cgt.spring.controller;

import com.cgt.spring.service.IStudentService;

public class StudentController {
	//private IStudentService studentService = new StudentServiceImpl();
	private IStudentService studentService;

	public void selectAll() {
		System.out.println("StudentController.selectAll");
		studentService.selectAll();
	}

	public void setStudentService(IStudentService studentService) {
		this.studentService = studentService;
	}
}
